﻿using System;
using fastCSharp.code.cSharp;

namespace diantou.web.ajax
{
    /// <summary>
    /// 用户Ajax调用
    /// </summary>
    abstract class userHandle<callType> : diantou.web.userHandle<callType>
        where callType : userHandle<callType>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        protected override bool loadHeader()
        {
            if (base.loadHeader())
            {
                if (sessionUser != null) return true;
                AjaxResponse();
            }
            return false;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        protected override bool loadView()
        {
            return false;
        }
    }
}
